#第一英雄大厅
execute as @s[tag=xiao,tag=PERxiao] run tag @s add PERjoinmap
execute as @s[tag=zzsn,tag=PERzzsn] run tag @s add PERjoinmap
execute as @s[tag=shinai,tag=PERshinai] run tag @s add PERjoinmap
execute as @s[tag=laiwei,tag=PERlaiwei] run tag @s add PERjoinmap
execute as @s[tag=haidao,tag=PERhaidao] run tag @s add PERjoinmap
execute as @s[tag=yasuo,tag=PERyasuo] run tag @s add PERjoinmap
execute as @s[tag=waerte,tag=PERwaerte] run tag @s add PERjoinmap
execute as @s[tag=aijisi,tag=PERaijisi] run tag @s add PERjoinmap
execute as @s[tag=xueya,tag=PERxueya] run tag @s add PERjoinmap
execute as @s[tag=weide,tag=PERweide] run tag @s add PERjoinmap

#第二英雄大厅
execute as @s[tag=panshi,tag=PERpanshi] run tag @s add PERjoinmap
execute as @s[tag=mieshang,tag=PERmieshang] run tag @s add PERjoinmap
execute as @s[tag=zuoxu,tag=PERzuoxu] run tag @s add PERjoinmap
execute as @s[tag=yifuer,tag=PERyifuer] run tag @s add PERjoinmap
execute as @s[tag=yao,tag=PERyao] run tag @s add PERjoinmap
execute as @s[tag=meiqin,tag=PERmeiqin] run tag @s add PERjoinmap
execute as @s[tag=qiaoyisi,tag=PERqiaoyisi] run tag @s add PERjoinmap
execute as @s[tag=mingge,tag=PERmingge] run tag @s add PERjoinmap
execute as @s[tag=shanling,tag=PERshanling] run tag @s add PERjoinmap
execute as @s[tag=mengyan,tag=PERmengyan] run tag @s add PERjoinmap


#第三英雄大厅
execute as @s[tag=xiu,tag=PERxiu] run tag @s add PERjoinmap
execute as @s[tag=erhan,tag=PERerhan] run tag @s add PERjoinmap
execute as @s[tag=wofu,tag=PERwofu] run tag @s add PERjoinmap
execute as @s[tag=akeer,tag=PERakeer] run tag @s add PERjoinmap
execute as @s[tag=daoshaolin,tag=PERdaoshaolin] run tag @s add PERjoinmap
execute as @s[tag=jueling,tag=PERjueling] run tag @s add PERjoinmap

execute as @s[tag=xingchen,tag=PERxingchen] run tag @s add PERjoinmap
execute as @s[tag=weiersen,tag=PERweiersen] run tag @s add PERjoinmap
execute as @s[tag=lieshou,tag=PERlieshou] run tag @s add PERjoinmap
execute as @s[tag=qishi,tag=PERqishi] run tag @s add PERjoinmap
execute as @s[tag=miyan,tag=PERmiyan] run tag @s add PERjoinmap


#第四英雄大厅
execute as @s[tag=xingyue,tag=PERxingyue] run tag @s add PERjoinmap



##TODO：以上数据复制更改即可————————————————————————————————————————————————————————————————————
#检测到有永久英雄就直接加入游戏
execute as @s[tag=PERjoinmap] at @s run tellraw @s [{"text":"您已拥有此英雄","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false},{"text":"已为您加入战斗","color":"white","bold":false,"italic":false,"underlined":false,"strikethrough":false,"obfuscated":false}]
execute as @s[tag=PERjoinmap] run scoreboard players set @s SystemJoin 3
execute as @s[tag=PERjoinmap] run tag @s remove PERjoinmap
